home *** CD-ROM | disk | FTP | other *** search
- echo "*EcThis installation script will copy all Conquest files"
- echo "onto your hard disk, in the directory of your choice.*N"
-
- ask "Do you wish to install Conquest? (Type Y to install):"
-
- if not warn
- echo "Installation cancelled.*N"
- skip quit
- endif
-
- echo "*NType the name of the disk and directory where you wish to"
- echo "install Conquest. For example: *dh0:Games/Strategy*."
- echo "A directory called Conquest will be created."
- echo "Enter Path: " NOLINE
-
- failat 21
-
- assign > NIL: conqdir: ?
- assign > NIL: conqdir: exists
-
- if warn
- echo "*NSorry that is not a valid drive, please check the name"
- echo "and run the install again."
- skip quit
- endif
-
- cd conqdir:
- echo "*NCreating directory..."
- makedir > NIL: Conquest
-
- if warn
- echo "That directory already exists."
- ask "Do you wish to install to this directory? (Y to install):"
- if not warn
- echo "Installation cancelled.*N"
- skip quit
- endif
- endif
-
- copy >NIL: Conquest:s/Conquest.info conqdir:
- assign conqdir: conqdir:conquest
- cd conqdir:
- echo "*NInstalling Conquest to " NOLINE
- cd
-
- copy >NIL: Conquest:c/#? all conqdir:c
- copy >NIL: Conquest:data/#? all conqdir:data
- copy >NIL: Conquest:devs/#? all conqdir:devs
- copy >NIL: Conquest:gfx/#? all conqdir:gfx
- copy >NIL: Conquest:l/#? all conqdir:l
- copy >NIL: Conquest:libs/#? all conqdir:libs
- copy >NIL: Conquest:sfx/#? all conqdir:sfx
- copy >NIL: Conquest:Conquest conqdir:
- copy >NIL: Conquest:Conquest.info conqdir:
-
- echo "*NConquest installation finished."
-
- lab quit
- assign conqdir:
- ask " (return to exit)"
- endcli
-